package com.zzyl.nursing.service.impl;

import com.zzyl.nursing.domain.Product;
import com.zzyl.nursing.mapper.ProductMapper;
import com.zzyl.nursing.service.IProductService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
@RequiredArgsConstructor
public class ProductServiceImpl implements IProductService {
    private final ProductMapper productMapper;
    @Override
    public List<Product> listAll() {
        return productMapper.selectAll();
    }
} 